package com.xja.webchat.service;

import com.xja.webchat.entity.Message;

import java.util.List;
import java.util.Map;

public interface MessageService {
    //查询聊天记录
    List<Message> selectMassageList(Map<String,Integer> map);
    //修改聊天记录的状态
    void updateMessageStatus(Map<String,Integer> map);
    //添加一条信息
    void addMessage(Message message);


}
